#include <iostream>
using namespace std;
int main()
{
	int i;
	int sum=0;
	for(i=1;i<=100;i++)
	{
		cout<<"sum="<<sum<<"+"<<i<<endl;	
		sum=sum+i;
			
	}
	cout<<sum<<endl;
	cout<<i;
	
	
	
	
	return 0;
} 
